package com.teamall.web.family.db.arg;

import java.util.*;
import java.math.*;
import org.apache.commons.lang.*;

public class FamilyAidLogArg {
    private String pk_name = "AID_LOG_ID";

    private String orderByClause;

    private String groupByClause;

    private String columns;

    private String countsql1;

    private String countsql2;

    private boolean distinct;

    private int rowStart = 0;

    private int rowEnd = 10;

    private List<FamilyAidLogCriteria> oredCriteria;

    public FamilyAidLogArg() {
        oredCriteria = new ArrayList<FamilyAidLogCriteria>();
    }

    public void setPk_name(String pk_name) {
        this.pk_name = StringEscapeUtils.escapeSql(pk_name);
    }

    public String getPk_name() {
        return pk_name;
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = StringEscapeUtils.escapeSql(orderByClause);
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setGroupByClause(String groupByClause) {
        this.groupByClause = StringEscapeUtils.escapeSql(groupByClause);
    }

    public String geGroupByClause() {
        return groupByClause;
    }

    public void setColumns(String columns) {
        this.columns = StringEscapeUtils.escapeSql(columns);
    }

    public String geColumns() {
        return columns;
    }

    public void setCountsql1(String countsql1) {
        this.countsql1 = StringEscapeUtils.escapeSql(countsql1);
    }

    public String geCountsql1() {
        return countsql1;
    }

    public void setCountsql2(String countsql2) {
        this.countsql2 = StringEscapeUtils.escapeSql(countsql2);
    }

    public String geCountsql2() {
        return countsql2;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public void setRowStart(int rowStart) {
        this.rowStart = rowStart;
    }

    public void setRowEnd(int rowEnd) {
        this.rowEnd = rowEnd;
    }

    public int getRowStart() {
        return rowStart;
    }

    public int getRowEnd() {
        return rowEnd;
    }

    public List<FamilyAidLogCriteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(FamilyAidLogCriteria criteria) {
        oredCriteria.add(criteria);
    }

    public FamilyAidLogCriteria or() {
    	FamilyAidLogCriteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public FamilyAidLogCriteria createCriteria() {
    	FamilyAidLogCriteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected FamilyAidLogCriteria createCriteriaInternal() {
    	FamilyAidLogCriteria criteria = new FamilyAidLogCriteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        groupByClause = null;
        columns = null;
        countsql1 = null;
        countsql2 = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<FamilyAidLogCriterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<FamilyAidLogCriterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<FamilyAidLogCriterion> getAllCriteria() {
            return criteria;
        }

        public List<FamilyAidLogCriterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new FamilyAidLogCriterion(condition));
        }

        protected void addCriterion(String condition, Object value,
                String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property
                        + " cannot be null");
            }
            criteria.add(new FamilyAidLogCriterion(condition, value));
        }

        protected void addCriterion(String condition, Object value,
                String property, int likeType) {
            if (value == null) {
                throw new RuntimeException("Value for " + property
                        + " cannot be null");
            }
            criteria.add(new FamilyAidLogCriterion(condition, value, likeType));
        }

        protected void addCriterion(String condition, Object value1,
                Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property
                        + " cannot be null");
            }
            criteria.add(new FamilyAidLogCriterion(condition, value1, value2));
        }

        public FamilyAidLogCriteria andCriterionEqualTo(String criterion) {
            if (StringUtils.isBlank(criterion)) {
                criterion = "1=1";
            }
            addCriterion(criterion);
            return (FamilyAidLogCriteria) this;
        }
        public FamilyAidLogCriteria andAidLogIdIsNull() {
            addCriterion("AID_LOG_ID is null");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidLogIdIsNotNull() {
            addCriterion("AID_LOG_ID is not null");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidLogIdEqualTo(Integer value) {
            addCriterion("AID_LOG_ID =", value, "AID_LOG_ID");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidLogIdNotEqualTo(Integer value) {
            addCriterion("AID_LOG_ID <>", value, "AID_LOG_ID");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidLogIdGreaterThan(Integer value) {
            addCriterion("AID_LOG_ID >", value, "AID_LOG_ID");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidLogIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("AID_LOG_ID >=", value, "AID_LOG_ID");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidLogIdLessThan(Integer value) {
            addCriterion("AID_LOG_ID <", value, "AID_LOG_ID");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidLogIdLessThanOrEqualTo(Integer value) {
            addCriterion("AID_LOG_ID <=", value, "AID_LOG_ID");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidLogIdLike(Integer value) {
            addCriterion("AID_LOG_ID like ", value, "AID_LOG_ID", 1);
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidLogIdNotLike(Integer value) {
            addCriterion("AID_LOG_ID  not like ", value, "AID_LOG_ID", 1);
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidLogIdLeftLike(Integer value) {
            addCriterion("AID_LOG_ID like ", value, "AID_LOG_ID", 0);
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidLogIdNotLeftLike(Integer value) {
            addCriterion("AID_LOG_ID  not like ", value, "AID_LOG_ID", 0);
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidLogIdRightLike(Integer value) {
            addCriterion("AID_LOG_ID like ", value, "AID_LOG_ID", 2);
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidLogIdNotRightLike(Integer value) {
            addCriterion("AID_LOG_ID  not like ", value, "AID_LOG_ID", 2);
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidLogIdIn(List<Integer> values) {
            addCriterion("AID_LOG_ID  in ", values, "AID_LOG_ID");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidLogIdNotIn(List<Integer> values) {
            addCriterion("AID_LOG_ID not in ", values, "AID_LOG_ID");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidLogIdBetween(Integer value1, Integer value2) {
            addCriterion("AID_LOG_ID between ", value1, value2, "AID_LOG_ID");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidLogIdNotBetween(Integer value1, Integer value2) {
            addCriterion("AID_LOG_ID not between ", value1, value2, "AID_LOG_ID");
            return (FamilyAidLogCriteria) this;
        }
        public FamilyAidLogCriteria andFamilyIdIsNull() {
            addCriterion("FAMILY_ID is null");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andFamilyIdIsNotNull() {
            addCriterion("FAMILY_ID is not null");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andFamilyIdEqualTo(Integer value) {
            addCriterion("FAMILY_ID =", value, "FAMILY_ID");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andFamilyIdNotEqualTo(Integer value) {
            addCriterion("FAMILY_ID <>", value, "FAMILY_ID");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andFamilyIdGreaterThan(Integer value) {
            addCriterion("FAMILY_ID >", value, "FAMILY_ID");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andFamilyIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("FAMILY_ID >=", value, "FAMILY_ID");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andFamilyIdLessThan(Integer value) {
            addCriterion("FAMILY_ID <", value, "FAMILY_ID");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andFamilyIdLessThanOrEqualTo(Integer value) {
            addCriterion("FAMILY_ID <=", value, "FAMILY_ID");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andFamilyIdLike(Integer value) {
            addCriterion("FAMILY_ID like ", value, "FAMILY_ID", 1);
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andFamilyIdNotLike(Integer value) {
            addCriterion("FAMILY_ID  not like ", value, "FAMILY_ID", 1);
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andFamilyIdLeftLike(Integer value) {
            addCriterion("FAMILY_ID like ", value, "FAMILY_ID", 0);
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andFamilyIdNotLeftLike(Integer value) {
            addCriterion("FAMILY_ID  not like ", value, "FAMILY_ID", 0);
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andFamilyIdRightLike(Integer value) {
            addCriterion("FAMILY_ID like ", value, "FAMILY_ID", 2);
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andFamilyIdNotRightLike(Integer value) {
            addCriterion("FAMILY_ID  not like ", value, "FAMILY_ID", 2);
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andFamilyIdIn(List<Integer> values) {
            addCriterion("FAMILY_ID  in ", values, "FAMILY_ID");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andFamilyIdNotIn(List<Integer> values) {
            addCriterion("FAMILY_ID not in ", values, "FAMILY_ID");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andFamilyIdBetween(Integer value1, Integer value2) {
            addCriterion("FAMILY_ID between ", value1, value2, "FAMILY_ID");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andFamilyIdNotBetween(Integer value1, Integer value2) {
            addCriterion("FAMILY_ID not between ", value1, value2, "FAMILY_ID");
            return (FamilyAidLogCriteria) this;
        }
        public FamilyAidLogCriteria andProjectIdIsNull() {
            addCriterion("PROJECT_ID is null");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andProjectIdIsNotNull() {
            addCriterion("PROJECT_ID is not null");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andProjectIdEqualTo(Integer value) {
            addCriterion("PROJECT_ID =", value, "PROJECT_ID");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andProjectIdNotEqualTo(Integer value) {
            addCriterion("PROJECT_ID <>", value, "PROJECT_ID");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andProjectIdGreaterThan(Integer value) {
            addCriterion("PROJECT_ID >", value, "PROJECT_ID");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andProjectIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("PROJECT_ID >=", value, "PROJECT_ID");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andProjectIdLessThan(Integer value) {
            addCriterion("PROJECT_ID <", value, "PROJECT_ID");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andProjectIdLessThanOrEqualTo(Integer value) {
            addCriterion("PROJECT_ID <=", value, "PROJECT_ID");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andProjectIdLike(Integer value) {
            addCriterion("PROJECT_ID like ", value, "PROJECT_ID", 1);
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andProjectIdNotLike(Integer value) {
            addCriterion("PROJECT_ID  not like ", value, "PROJECT_ID", 1);
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andProjectIdLeftLike(Integer value) {
            addCriterion("PROJECT_ID like ", value, "PROJECT_ID", 0);
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andProjectIdNotLeftLike(Integer value) {
            addCriterion("PROJECT_ID  not like ", value, "PROJECT_ID", 0);
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andProjectIdRightLike(Integer value) {
            addCriterion("PROJECT_ID like ", value, "PROJECT_ID", 2);
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andProjectIdNotRightLike(Integer value) {
            addCriterion("PROJECT_ID  not like ", value, "PROJECT_ID", 2);
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andProjectIdIn(List<Integer> values) {
            addCriterion("PROJECT_ID  in ", values, "PROJECT_ID");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andProjectIdNotIn(List<Integer> values) {
            addCriterion("PROJECT_ID not in ", values, "PROJECT_ID");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andProjectIdBetween(Integer value1, Integer value2) {
            addCriterion("PROJECT_ID between ", value1, value2, "PROJECT_ID");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andProjectIdNotBetween(Integer value1, Integer value2) {
            addCriterion("PROJECT_ID not between ", value1, value2, "PROJECT_ID");
            return (FamilyAidLogCriteria) this;
        }
        public FamilyAidLogCriteria andAidDateIsNull() {
            addCriterion("AID_DATE is null");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidDateIsNotNull() {
            addCriterion("AID_DATE is not null");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidDateEqualTo(Date value) {
            addCriterion("AID_DATE =", value, "AID_DATE");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidDateNotEqualTo(Date value) {
            addCriterion("AID_DATE <>", value, "AID_DATE");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidDateGreaterThan(Date value) {
            addCriterion("AID_DATE >", value, "AID_DATE");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidDateGreaterThanOrEqualTo(Date value) {
            addCriterion("AID_DATE >=", value, "AID_DATE");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidDateLessThan(Date value) {
            addCriterion("AID_DATE <", value, "AID_DATE");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidDateLessThanOrEqualTo(Date value) {
            addCriterion("AID_DATE <=", value, "AID_DATE");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidDateLike(Date value) {
            addCriterion("AID_DATE like ", value, "AID_DATE", 1);
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidDateNotLike(Date value) {
            addCriterion("AID_DATE  not like ", value, "AID_DATE", 1);
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidDateLeftLike(Date value) {
            addCriterion("AID_DATE like ", value, "AID_DATE", 0);
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidDateNotLeftLike(Date value) {
            addCriterion("AID_DATE  not like ", value, "AID_DATE", 0);
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidDateRightLike(Date value) {
            addCriterion("AID_DATE like ", value, "AID_DATE", 2);
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidDateNotRightLike(Date value) {
            addCriterion("AID_DATE  not like ", value, "AID_DATE", 2);
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidDateIn(List<Date> values) {
            addCriterion("AID_DATE  in ", values, "AID_DATE");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidDateNotIn(List<Date> values) {
            addCriterion("AID_DATE not in ", values, "AID_DATE");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidDateBetween(Date value1, Date value2) {
            addCriterion("AID_DATE between ", value1, value2, "AID_DATE");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidDateNotBetween(Date value1, Date value2) {
            addCriterion("AID_DATE not between ", value1, value2, "AID_DATE");
            return (FamilyAidLogCriteria) this;
        }
        public FamilyAidLogCriteria andAidAmountIsNull() {
            addCriterion("AID_AMOUNT is null");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidAmountIsNotNull() {
            addCriterion("AID_AMOUNT is not null");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidAmountEqualTo(BigDecimal value) {
            addCriterion("AID_AMOUNT =", value, "AID_AMOUNT");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidAmountNotEqualTo(BigDecimal value) {
            addCriterion("AID_AMOUNT <>", value, "AID_AMOUNT");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidAmountGreaterThan(BigDecimal value) {
            addCriterion("AID_AMOUNT >", value, "AID_AMOUNT");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("AID_AMOUNT >=", value, "AID_AMOUNT");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidAmountLessThan(BigDecimal value) {
            addCriterion("AID_AMOUNT <", value, "AID_AMOUNT");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("AID_AMOUNT <=", value, "AID_AMOUNT");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidAmountLike(BigDecimal value) {
            addCriterion("AID_AMOUNT like ", value, "AID_AMOUNT", 1);
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidAmountNotLike(BigDecimal value) {
            addCriterion("AID_AMOUNT  not like ", value, "AID_AMOUNT", 1);
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidAmountLeftLike(BigDecimal value) {
            addCriterion("AID_AMOUNT like ", value, "AID_AMOUNT", 0);
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidAmountNotLeftLike(BigDecimal value) {
            addCriterion("AID_AMOUNT  not like ", value, "AID_AMOUNT", 0);
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidAmountRightLike(BigDecimal value) {
            addCriterion("AID_AMOUNT like ", value, "AID_AMOUNT", 2);
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidAmountNotRightLike(BigDecimal value) {
            addCriterion("AID_AMOUNT  not like ", value, "AID_AMOUNT", 2);
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidAmountIn(List<BigDecimal> values) {
            addCriterion("AID_AMOUNT  in ", values, "AID_AMOUNT");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidAmountNotIn(List<BigDecimal> values) {
            addCriterion("AID_AMOUNT not in ", values, "AID_AMOUNT");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("AID_AMOUNT between ", value1, value2, "AID_AMOUNT");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("AID_AMOUNT not between ", value1, value2, "AID_AMOUNT");
            return (FamilyAidLogCriteria) this;
        }
        public FamilyAidLogCriteria andAidDescIsNull() {
            addCriterion("AID_DESC is null");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidDescIsNotNull() {
            addCriterion("AID_DESC is not null");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidDescEqualTo(String value) {
            addCriterion("AID_DESC =", value, "AID_DESC");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidDescNotEqualTo(String value) {
            addCriterion("AID_DESC <>", value, "AID_DESC");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidDescGreaterThan(String value) {
            addCriterion("AID_DESC >", value, "AID_DESC");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidDescGreaterThanOrEqualTo(String value) {
            addCriterion("AID_DESC >=", value, "AID_DESC");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidDescLessThan(String value) {
            addCriterion("AID_DESC <", value, "AID_DESC");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidDescLessThanOrEqualTo(String value) {
            addCriterion("AID_DESC <=", value, "AID_DESC");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidDescLike(String value) {
            addCriterion("AID_DESC like ", value, "AID_DESC", 1);
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidDescNotLike(String value) {
            addCriterion("AID_DESC  not like ", value, "AID_DESC", 1);
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidDescLeftLike(String value) {
            addCriterion("AID_DESC like ", value, "AID_DESC", 0);
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidDescNotLeftLike(String value) {
            addCriterion("AID_DESC  not like ", value, "AID_DESC", 0);
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidDescRightLike(String value) {
            addCriterion("AID_DESC like ", value, "AID_DESC", 2);
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidDescNotRightLike(String value) {
            addCriterion("AID_DESC  not like ", value, "AID_DESC", 2);
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidDescIn(List<String> values) {
            addCriterion("AID_DESC  in ", values, "AID_DESC");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidDescNotIn(List<String> values) {
            addCriterion("AID_DESC not in ", values, "AID_DESC");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidDescBetween(String value1, String value2) {
            addCriterion("AID_DESC between ", value1, value2, "AID_DESC");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andAidDescNotBetween(String value1, String value2) {
            addCriterion("AID_DESC not between ", value1, value2, "AID_DESC");
            return (FamilyAidLogCriteria) this;
        }
        public FamilyAidLogCriteria andPhotoListIsNull() {
            addCriterion("PHOTO_LIST is null");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andPhotoListIsNotNull() {
            addCriterion("PHOTO_LIST is not null");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andPhotoListEqualTo(String value) {
            addCriterion("PHOTO_LIST =", value, "PHOTO_LIST");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andPhotoListNotEqualTo(String value) {
            addCriterion("PHOTO_LIST <>", value, "PHOTO_LIST");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andPhotoListGreaterThan(String value) {
            addCriterion("PHOTO_LIST >", value, "PHOTO_LIST");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andPhotoListGreaterThanOrEqualTo(String value) {
            addCriterion("PHOTO_LIST >=", value, "PHOTO_LIST");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andPhotoListLessThan(String value) {
            addCriterion("PHOTO_LIST <", value, "PHOTO_LIST");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andPhotoListLessThanOrEqualTo(String value) {
            addCriterion("PHOTO_LIST <=", value, "PHOTO_LIST");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andPhotoListLike(String value) {
            addCriterion("PHOTO_LIST like ", value, "PHOTO_LIST", 1);
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andPhotoListNotLike(String value) {
            addCriterion("PHOTO_LIST  not like ", value, "PHOTO_LIST", 1);
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andPhotoListLeftLike(String value) {
            addCriterion("PHOTO_LIST like ", value, "PHOTO_LIST", 0);
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andPhotoListNotLeftLike(String value) {
            addCriterion("PHOTO_LIST  not like ", value, "PHOTO_LIST", 0);
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andPhotoListRightLike(String value) {
            addCriterion("PHOTO_LIST like ", value, "PHOTO_LIST", 2);
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andPhotoListNotRightLike(String value) {
            addCriterion("PHOTO_LIST  not like ", value, "PHOTO_LIST", 2);
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andPhotoListIn(List<String> values) {
            addCriterion("PHOTO_LIST  in ", values, "PHOTO_LIST");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andPhotoListNotIn(List<String> values) {
            addCriterion("PHOTO_LIST not in ", values, "PHOTO_LIST");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andPhotoListBetween(String value1, String value2) {
            addCriterion("PHOTO_LIST between ", value1, value2, "PHOTO_LIST");
            return (FamilyAidLogCriteria) this;
        }

        public FamilyAidLogCriteria andPhotoListNotBetween(String value1, String value2) {
            addCriterion("PHOTO_LIST not between ", value1, value2, "PHOTO_LIST");
            return (FamilyAidLogCriteria) this;
        }

    }

    public static class FamilyAidLogCriteria extends GeneratedCriteria {

        protected FamilyAidLogCriteria() {
            super();
        }
    }

    public static class FamilyAidLogCriterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected FamilyAidLogCriterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }
        protected FamilyAidLogCriterion(String condition, Object value, int likeType) {
            this.condition = condition;
            if (likeType == 0) {
                this.value = "%" + value;
            }
            else if (likeType == 1) {
                this.value = "%" + value + "%";
            }
            else {
                this.value = value + "%";
            }
            this.typeHandler = null;
            this.singleValue = true;

        }

        protected FamilyAidLogCriterion(String condition, Object value,
                String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            }
            else {
                this.singleValue = true;
            }
        }

        protected FamilyAidLogCriterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected FamilyAidLogCriterion(String condition, Object value,
                Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected FamilyAidLogCriterion(String condition, Object value,
                Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}